of

open fun of(value: Int): HttpStatus

Returns the HttpStatus instance for the given value.

Parameters

value

the HTTP response status code. For example, 200, 201, 404